package com.alex.statistics.pojo.result.explorationAnalysis;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;
@AllArgsConstructor
@Data
@Schema(description = "Z-Score异常检测结果")
public class ZScoreResult {
    @Schema(description = "异常点索引", example = "[3,5]")
    private List<Integer> anomalyIndices;

    @Schema(description = "所有数据点的Z-Score值", example = "[-1.2, -0.5, 0.3, 3.1, 1.8, 3.5]")
    private List<Double> zScores;

    @Schema(description = "数据均值", example = "4.85")
    private Double mean;

    @Schema(description = "数据标准差", example = "2.15")
    private Double stdDev;
}